package com.kylin.commodity.api.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品评论信息
 * @author Damon S.
 * @version v1.0.1
 * @date 2020年01月07日 19:31
 */
@Data
@ApiModel(value = "商品评论响应结果")
public final class CommentRespDTO implements Serializable {

    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    @ApiModelProperty(value = "商品ID")
    private Long commodityId;

    @ApiModelProperty(value = "评论用户Id")
    private Long userId;

    @ApiModelProperty(value = "用户昵称")
    private String displayName;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "评论时间")
    private Long commentedAt;
}
